<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<audio src="../余香.mp3"  controls muted>
			当前浏览器不支持audio
		</audio>
		<button class="play" type="button">播放</button>
		<button class="pause" type="button">暂停</button>
		<script type="text/javascript">
			let audio = document.querySelector('audio')
			let play = document.querySelector('.play');
			let pause = document.querySelector('.pause');
			console.log(play);
			play.onclick = function (){
				audio.play()
			};
			pause.onclick = function (){
				audio.pause()
			};
		</script>
	</body>
</html>
